@import "./normalize.css";

/* 按钮 */
.wrap-btn {
  padding: 0 20px;
  height: 32px;
  line-height: 32px;
  font-size: 12px;
  margin: 0 5px;
  border-radius: 4px;
  display: inline-block;
  font-family: Microsoft YaHei;
  font-weight: 400;
  cursor: pointer;
}

.wrap-default {
  background: #FFF;
  border: 1px solid #DCDFE6;
  color: #606266;
}

.wrap-primary {
  color: #ffff;
  background: #1492FF;
}

.wrap-success {
  color: #ffff;
  background: #45ab49;
}

.wrap-info {
  color: #ffff;
  background: #8D97A3;
}

.wrap-warning {
  color: #fff;
  background: #FDAD4E;
}

.wrap-danger {
  color: #fff;
  background: #F46262;
}

.wrap-go-back {
  color: #909399;
  background: #f3f3f3;
}

.wrap-btn-group {
  text-align: right;
  padding: 10px 0 18px;
}

.wrap-search-form {
  margin-top: 10px;
}

/* 滚动区域 */
.wrap-item {
  background: #fff;
  padding: 10px 20px 0 20px;
  height: calc(100vh - 186px);
  min-height: 300px;
  overflow-y: auto;
}

.wrap-item-roll {
  max-height: calc(100% - 125px);
  overflow-y: scroll;
}

.wrap-other-roll {
  max-height: calc(100% - var(--scroll-width));
  overflow-y: scroll;
}

.wrap-item-roll::-webkit-scrollbar,
.wrap-other-roll::-webkit-scrollbar {
  width: 0;
}

.el-dropdown-link {
  cursor: pointer;
}


/* 表格超出显示... */
.el-tooltip__popper{
  max-width: 600px;
}

/* 超出... */
.ellipsis-tip {
  max-width: 300px;
}

.ellipsis {
  max-width: 280px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis-tip-span2 {
  max-width: 710px;
}

.ellipsis-span2 {
  max-width: 720px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 表格滚动条 */
.el-table__body-wrapper::-webkit-scrollbar {
  height: 15px;
}

.el-table__body-wrapper::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.el-table__body-wrapper::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
}

/* 对话框样式 */
.el-dialog__header {
  padding: 10px 20px;
  background: #45ab49;
}

.el-dialog__header span {
  color: #fff;
}

.el-dialog__header .el-dialog__close {
  color: #fff;
}

.el-dialog__header .el-dialog__close:hover {
  color: #fff;
}

.el-dialog__headerbtn {
  top: 15px;
}

.el-dialog__body {
  padding: 20px;
}

.el-drawer__header {
  padding: 10px 20px;
  margin: 0;
  background: #45ab49;
  color: #fff;
}

.el-drawer__body {
  padding: 20px;
}




/* 弹窗 - 卡片样式 */
.dialog-wrap{
  .box-card{
    margin-bottom: 10px;
  }
}